package one.stand.mapper;

import one.stand.model.ProductsTypeModel;

import java.util.List;

public interface ProductsTypeMapper {
    int deleteByPrimaryKey(Integer productsTypeId);

    int insertSelective(ProductsTypeModel record);

    ProductsTypeModel selectByPrimaryKey(Integer productsTypeId);

    int updateByPrimaryKeySelective(ProductsTypeModel record);

    List<ProductsTypeModel> selectProductsTypeList(Integer companyId);

    List<ProductsTypeModel> select(ProductsTypeModel record);

    List<ProductsTypeModel> selectList(ProductsTypeModel record);

    Integer getMaxSort(Integer companyId);

    ProductsTypeModel getThanProductsType(ProductsTypeModel record);
}